Image processor

ABSTRACT

An image processor includes a JPEG 2000 codec. The JPEG 2000 codec generates a plurality of levels of encoded data, and a checksum circuit integrates the encoded data for each of the levels to determine a checksum. The determined checksum is written together with the encoded data into a header of a stream. In decoding a desired level of the encoded data, a checksum is determined again on the basis of the encoded data and compared with the checksum written in the header. Accordingly, if the two matches with each other, it is concluded that the encoded data is not tampered. If the two does not match with each other, it is concluded that the encoded data is tampered and a warning message is displayed on a monitor.

CROSS REFERENCE OF RELATED APPLICATION

The disclosure of Japanese Patent Application No. 2005-99513 isincorporated herein by reference.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to an image processor. More specifically,the present invention relates to an image processor that is used forsurveillance camera equipment and generates encoded data at individualfrequency bands based on fetched image data.

2. Description of the Related Art

The image processor performs encoding in JPEG format and then determinesa checksum for each frame, and writes the determined checksum intoadditional data of each frame. Then, in decoding the encoded data, theimage processor determines a checksum for each frame, and compares thedetermined checksum with the checksum written in the additional data. Asa result, the image processor concludes that the encoded data is nottampered if the two matches with each other, and concludes that theencoded data is tampered if the two does not match with each other.

However, the related art has a problem in which it is impossible todetect whether the data encoded in JPEG 2000 format is tampered or notfor each of the frequency bands.

SUMMARY OF THE INVENTION

Therefore, it is a primary object of the present invention to provide anovel image processor.

It is another object of the present invention to provide an imageprocessor that detects easily whether encoded data with a plurality offrequency bands is tampered or not for each of the frequency bands.

The present invention of claim 1 comprises an encoder (22, 30, S3) forencoding image data corresponding to each of a plurality of differentfrequency bands, a recorder (22, S15) for recording in a recordingmedium (36) the encoded image data generated by the encoder, a firstcalculator (22, 28, S7) for calculating a data amount of the encodedimage data recorded by the recorder corresponding to each of theplurality of frequency bands, a second calculator (22, 28, S25, S41,S55) for calculating a data amount of desired encoded image data out ofthe encoded image data recorded in the recording medium corresponding toeach of the plurality of frequency bands, a comparator (22, S31, S47,S61) for comparing second numeric information indicative of the dataamount of the data calculated by the second calculator with firstnumeric information indicative of the data amount calculated by thefirst calculator with respect to the desired encoded image data, and anoutput (22, S35, S51, S65) for outputting a message in accordance withresult of the comparison by the comparator.

In the present invention of claim 1, the encoder generates encoded imagedata from image data corresponding to each of a plurality of differentfrequency bands, and the recorder records the generated encoded imagedata in the recording medium. At that time, the first calculatorcalculates an amount of the encoded image data corresponding to each ofthe plurality of frequency bands. After that, the second calculatorcalculates a data amount of desired encoded image data out of theencoded image data recorded in the recording medium, corresponding toeach of the plurality of frequency bands.

Then, the comparator compares second numeric information indicative ofthe data amount calculated by the second calculator with first numericinformation indicative of the data amount calculated by the firstcalculator, and the output outputs a message in accordance with theresult of the comparison by the comparator.

Consequently, in the comparison of the second numeric information andthe first numeric information, if the two matches with each other, it isconcluded that the desired encoded image data is not tampered. If thetwo do not match with each other, it is concluded that the recordedencoded image data is tampered. In this manner, it is possible to detecteasily whether the encoded image data is tampered or not for each of theplurality of frequency bands.

The present invention of claim 2 is an image processor depending onclaim 1, further comprising a decoder (22, 30, S29, S45, S59) fordecoding the desired encoded image data, and a display (22, 40, S33,S35, S49, S51, S63, S65) for displaying an image based on the image datadecoded by the decoder, wherein the output (22, S35, S51, S65) outputsthe message in relation to a displaying operation of the display.

In the present invention of claim 2, the decoder decodes desired encodedimage data, and the display displays an image based on the decoded imagedata. At that time, the output outputs a message in association with thedisplay's operation of displaying the image. In this case, the image ofthe decoded image data is displayed together with a message indicatingwhether the encoded data is tampered or not.

The present invention of claim 3 is an image processor according toclaim 2, further comprising a selector (22, S23, S39, S53) for selectingone of the plurality of frequency bands, wherein the decoder decodesencoded image data components belonging to the frequency band selectedby the selector, and the comparator performs a comparison focusing onthe frequency band selected by the selector.

In the present invention of claim 3, the selector selects one of theplurality of frequency bands. After the second numeric information ofencoded image data components with the selected frequency band iscompared with the first numeric information of encoded image datacomponents with the same frequency bands, the decoder decodes theencoded image data components. In this case, it is possible to decodeencoded image data components with an arbitrary frequency band selectedby the selector after it is detected whether the encoded image data istampered or not.

The present invention of claim 4 is an image processor according to anyone of claims 1 to 3, further comprising an assigner (22, S9) forassigning the first numeric information to the encoded image datarecorded by the recorder, and a detector (22, 28, S31, S47, S61) fordetecting the first numeric information assigned to the desired encodedimage data prior to the comparison by the comparator.

In the present invention of claim 4, the assigner assigns the firstnumeric information to the encoded image data recorded by the recorder.The detector detects the assigned first numeric information prior to thecomparison by the comparator. In this case, the first numericinformation is detected prior to the comparison. Thus, by comparing thedetected first numeric information with the second numeric information,it is possible to detect easily whether the encoded image data istampered or not.

The present invention of claim 5 is an image processor according to anyone of claims 1 to 4, wherein an encoding format of the encoder conformsto a wavelet transformation format. In this case, it is possible togenerate encoded image data from the image data corresponding to each ofa plurality of different frequency bands.

The present invention of claim 6 is an image processor according to anyone of claims 1 to 5, further comprising a photographer (18, 22, S1) forphotographing an object scene, wherein the image data to be encoded bythe encoder depicts an image of the object scene photographed by thephotographer. In this case, it is possible to detect easily whether theencoded image data of the object scene photographed by the photographeris tampered or not.

According to the present invention, by comparing the second numericinformation calculated for each of frequency bands with the firstnumeric information, it is possible to detect easily the encoded imagedata is tampered or not for each of the plurality of frequency bands.

The above described objects and other objects, features, aspects andadvantages of the present invention will become more apparent from thefollowing detailed description of the present invention when taken inconjunction with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram showing surveillance camera equipment as oneembodiment of the present invention;

FIG. 2 is a block diagram with surveillance camera equipment connectedto the Internet network;

FIG. 3 is an illustrative view showing one example of waveletconversion;

FIG. 4 is an illustrative view showing data structure of a stream;

FIG. 5 is an illustrative view showing a display image of a monitor;

FIG. 6 is a flow chart showing a part of operation of FIG. 1 embodiment;

FIG. 7 is a flow chart showing another part of operation of FIG. 1embodiment;

FIG. 8 is a flow chart showing still another part of operation of FIG. 1embodiment; and

FIG. 9 is a flow chart showing further another part of operation of FIG.1 embodiment.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

Referring to FIG. 1, a detailed description will be given as tostructure of surveillance camera equipment 10 of this embodiment. Thesurveillance camera equipment 10 includes a camera 18. The camera 18photographs an object scene under a photographing instruction providedby a CPU 22, and outputs an image signal of the photographed objectscene to a signal processing circuit 20. The signal processing circuit20 fetches the provided image signal and converts the fetched imagesignal into image data as a digital signal. Next, the signal processingcircuit 20 subjects the converted image data to color separation, whitebalance adjustment, YUV conversion and the like, and outputs image datatogether with a write request to a memory control circuit 24. Inresponse to the write request, the memory control circuit 24 writes theprovided image data into an SDRAM 26.

The CPU 22 provides the JPEG 2000 codec 30 with a level encoding processinstruction to encode image data corresponding to each of a plurality oflevels (frequency bands) at each photographing cycle. The JPEG 200 codec30 outputs a read request to the memory control circuit 24 in accordancewith the level encoding process instruction. In response to the readrequest, the memory control circuit 24 reads the image data written inthe SDRAM 26, and provides the read image data to the JPEG 2000 codec30.

The JPEG 2000 codec 30 generates encoded data from the provided imagedata for each of the levels in JPEG 2000 format. The JPEG 2000 codec 30further forms a stream described later by using each of the levels ofgenerated encoded data, and provides the formed steam to a checksumcircuit 28. The checksum circuit 28 integrates the encoded dataconstituting the provided stream to determine a checksum for each of thelevel, and writes the determined checksum into a header of the stream.The checksum circuit 28 provides the JPEG 2000 codec 30 with the streamin which the checksum is written. The JPEG 2000 codec 30 outputs thestream together with a write request to the memory control circuit 24,and the memory control circuit 24 writes the provided stream into theSDRAM 26 in response to the write request.

Upon completion of the level encoding process, the CPU 22 provides withan HDD-1/F32 with an instruction to record the stream in a hard disk 36.According to the recording instruction, the HDD-1/F32 outputs a streamread request to the memory control circuit 24. The memory controlcircuit 24 reads the stream from the SDRAM 26 in response to the readrequest, and outputs the read stream to the HDD-1/F32 via a bus 42. TheHDD-1/F32 records the provided stream in the hard disk 36 via an HDD 34.

Then, a description will be given as to the case of decoding the streamrecorded in the hard disk 36. The CPU 22 instructs the HDD-1/F32 to readthe stream recorded in the hard disk 36. The HDD-1/F32 reads the streamrecorded in the hard disk 36 via the HDD 34, and outputs the read streamtogether with a write request to the memory control circuit 24. Inresponse to the write request, the memory control circuit 24 writes theprovided steam into the SDRAM 26.

When a desired level of encoded data to be decoded is selected, out ofthe encoded data forming the stream, the CPU 22 provides the JPEG 2000codec 30 with a decoding instruction to decode the encoded data at eachdecoding cycle. The JPEG 2000 codec 30 outputs a read request to thememory control circuit 24 according to the decoding instruction. Thememory control circuit 24 reads the selected level of encoded data fromthe stream written in the SDRAM 26 in response to the read request. Theread encoded data is given via the bus 42 to the JPEG 2000 codec 30. TheJPEG 2000 codec 30 provides the given encoded data to the checksumcircuit 28. The checksum circuit 28 integrates the provided encoded datato determine a checksum, and writes the determined checksum into abuffer memory 28 a provided in the checksum circuit 28.

When the checksum circuit 28 has determined the checksum, the encodeddata is provided again to the JPEG 2000 codec 30. The JPEG 2000 codec 30decodes the provided encoded data in JPEG 2000 format to generate imagedata, and requests the memory control circuit 24 to write the generatedimage data. In response to the request, the memory control circuit 24writes the generated image data into the SDRAM 26.

Then, the CPU 22 provides a video encoder 38 with a decoding instructionto decode a designated level of encoded data. The video encoder 38outputs a read request to the memory control circuit 24 in accordancewith the decoding instruction. The memory control circuit 24 reads theimage data written in the SDRAM 26 in response to the read request, andoutputs the read image data to the video encoder 38.

At that time, the CPU 22 compares the checksum written in the header ofthe stream with the checksum written in the buffer memory 28 a todetermine whether the two checksums match with each other or not, andprovides result of the determination to the video encoder 38. The videoencoder 38 converts the provided image data into a composite imagesignal, outputs the converted composite image signal to the monitor 40,and if it is concluded that the two checksums do not match with eachother, outputs a warning message to the monitor 40.

Besides, the surveillance camera equipment 10 may be connected to aserver 50 via the internet network 52 as shown in FIG. 2. In this case,the surveillance camera equipment 10 not only decodes the streamrecorded in the hard disk 36 as described above but also transmits it tothe server 50 via the Internet network 52. The CPU 22 provides a networkI/F 44 with a transmission instruction to transmit the stream. Thenetwork I/F 44 outputs a request for reading the stream to the memorycontrol circuit 24 in accordance with the transmission instruction. Thememory control circuit 24 reads the stream from the SDRAM 26 in responseto the read request, and outputs the read stream to the network I/F 44via the bus 42. The network I/F 44 transmits the provided stream to theserver 50 via the Internet network 52.

Upon reception of the transmitted stream, the server 50 determines achecksum of the selected level of encoded data out of the differentlevels of encoded data constituting the stream, as in the case with thesurveillance camera equipment 10. Based on the determined checksum, theserver 50 detects whether the transmitted encoded data is tampered ornot.

Next, a detailed description will be provided here as to an encodingprocess and a decoding process by the JPEG 2000 codec 30. The JPEG 2000codec 30 encodes image data according to the procedure described below.Firstly, the JPEG 2000 codec 30 performs wavelet transformation on theimage data. This allows the image data to be subjected to sub-banddecomposition a predetermined number of times in horizontal and verticaldirections.

With reference to FIG. 3, one example of wavelet transformation will bedescribed below. For example, if the number of times of sub-banddecomposition, i.e. the value of decomposition level is three, anoriginal image (0LL) is firstly decomposed into four sub-bands (1LL,1HL, 1LH and 1LL) based on frequency components in a horizontaldirection and frequency components in a vertical direction. Similarly,the 1LL sub-band is decomposed into four sub-bands (2LL, 2HL, 2LH and2LL), and the 2LL sub-band is further decomposed into four sub-bands(3LL, 3HL, 3LH and 3HH). As a consequence, the original image isdecomposed into the total ten sub-bands 3LL, 3HL, 3LH, 3HH, 2HL, 2LH,2HH, 1HL, 1LH and 1HH.

Referring to FIG. 4, a stream formed by the JPEG 2000 codec 30 will bedescribed below. The stream includes a header and three areas forstoring encoded data. Written into the header are encoding parametersand quantization parameters, etc. in addition to a checksum describedbelow. The three areas stores four sub-bands 3LL, 3HL, 3LH and 3HH, andthree sub-bands 2HL, 2LH and 2HH, and three sub-bands 1HL, 1LH and 1HH,respectively.

In this embodiment, the encoded data composed of the four sub-bands 3LL,3HL, 3LH and 3HH is called encoded data of level 3, the encoded datacomposed of the seven sub-bands 3LL, 3HL, 3LH, 3HH, 2HL, 2LH and 2HH iscalled encoded data of level 2, and the encoded data composed of the tensub-bands 3LL, 3HL, 3LH, 3HH, 2HL, 2LH, 2HH, 1HL, 1LH and 1HH isreferred to encoded data of level 1.

The original image is formed by these encoded data of levels 1 to 3. Inthis case, an image with minimum degree of resolution is decoded by theencoded data of level 3. With the addition of the three sub-bands 2HL,2LH and 2HH, the encoded data of level 3 is turned into the encoded dataof level 2, resulting in an increase in the resolution of the image tobe decoded. Moreover, by adding the three sub-bands 1HL, 1LH and 1HH,the encoded data of level 2 becomes the encoded data of level 1, whichwill further raise the resolution of the image to be decoded.

Provided with the stream from the JPEG 2000 codec 30, the checksumcircuit 28 integrates 8-bit data values forming the different levels ofencoded data constituting the stream to determine 16-bit checksums. Achecksum A is an integrated value of the encoded data of level 3, achecksum B is an integrated value of the encoded data of level 2, and achecksum C is an integrated value of the encoded data of level 1. Afterthe encoding, the checksum circuit 28 determines the checksums A to Cand writes them into the header. The checksum circuit 28 also determinesa selected one of the checksums A to C, and writes the determinedchecksum into the buffer memory 28 a.

The CPU 22 of the surveillance camera equipment 10 reads the selectedencoded data in decoding the stream recorded in the hard disk 36. Then,the checksum circuit 28 determines a checksum by integrating data valuesof the read encoded data, writes the determined checksum into the buffermemory 28 a, and then decodes the encoded data. The CPU 22 then readsthe checksum written at encoding time, and compares the read checksumwith the checksum written in the buffer memory 28 a. Accordingly, ifthese two checksums match with each other, the CPU 22 concludes that theencoded data is not tampered, and displays only the read image on themonitor 40 as shown in FIG. 5 (A).

On the other hand, if the two checksums do not match with each other,the CPU 22 concludes that the encoded data is tampered, and displays theread image on the monitor 40, and also provides a warning message “Thedata is tampered.” in a superimposed manner, as shown in FIG. 5 (B).

The CPU 22 adds a checksum to the image data fetched in accordance witha flow chart shown in FIG. 6. In a step S1, firstly, the CPU 22 fetchesan image signal of an object scene photographed by the camera 18. In astep S3, the CPU 22 allows the JPEG 2000 codec 30 to encode the fetchedimage data for each of the levels in accordance with the JPEG 2000format. As a result, encoded data of three levels are generated, and astream is formed from the generated encoded data of three levels.

In a step S5, a value of a variable n is assumed to be 1. In a step S7,the CPU 22 makes the checksum circuit 28 determine a checksum throughintegration of encoded data of level n. In a step S9, the CPU 22 writesthe determined checksum into the header of the stream. The CPU 22increments the value of the variable n in a step S11 and determines in astep S13 whether the incremented value of the variable n is larger than3 or not. The determination is here based on the number 3 because thedecomposition level is 3 in this embodiment and thus the value of thevariable n will never exceed 3. The CPU 22 returns to the step S7 if NOor proceeds to a step S15 if YES.

In the step S15, the CPU 22 records the stream in the hard disk 36. Inthe step S17, the CPU 22 determines whether there exists a next imageyet to be fetched or not. The CPU 22 returns to the step S1 if YES orterminates the process if NO.

The CPU 22 also performs a tampering detection process on the encodeddata recorded in the hard disk 36 according to the flow charts shown inFIGS. 7 to 9. In a step S21, the CPU 22 reads a stream from the harddisk 36. In a step S23, the CPU 22 determines whether or not to decodethe encoded data of level 3 for the read stream. If it has concluded tobe YES, the CPU 22 integrates the data values of the encoded data oflevel 3 to determine a checksum. In a step S27, the CPU 22 writes thedetermined checksum into the buffer memory 28 a. In a step S29, the CPU22 decodes the encoded data of level 3. In a step S31, the CPU 22 readsthe checksum written in the header and the checksum written in thebuffer memory 28 a, and determines whether the two matches with eachother or not. If the result is YES, the CPU 22 displays an image on themonitor 40 in a step S33, and then proceeds to a step S37. On the otherhand, if NO, the CPU 22 displays the image and a warning message “Thedata is tampered.” in a step S35, and then moves to the step S37. In thestep S37, the CPU 22 determines whether there exists a next image yet tobe received or not. The CPU 22 returns to the step S21 if YES orterminates the process if NO.

If it has concluded the result to be NO in the step S23, the CPU 22determines whether or not to decode the encoded data of level 2 in astep S39. If the result is YES, the CPU 22 integrates the data values ofthe encoded data of level 2 to determine a checksum in a step S41. In astep S43, the CPU 22 writes the determined checksum into the buffermemory 28 a. In a step S45, the CPU 22 decodes the encoded data of level2. In a step S47, the CPU 22 reads the checksum written in the headerand the checksum written in the buffer memory 28 a, and determineswhether the two matches with each other or not. If the result is YES,the CPU 22 displays the image on the monitor 40 in a step S49 and thenproceeds to the above mentioned step S37. On the other hand, if NO, theCPU 22 displays the image and the warning message “The data istampered.”, and then moves to the above mentioned step S37.

If NO in the step S39, the CPU 22 determines in a step S53 whether ornot to decode the encoded data of level 1. If it has concluded theresult to be NO, the CPU 22 returns to the step S23. If YES, the CPU 22integrates the data values of the encoded data of level 1 to determine achecksum in a step S55. In a step S57, the CPU 22 writes the determinedchecksum into the buffer memory 28 a. In a step S59, the CPU 22 decodesthe encoded data of level 1. In a step S61, the CPU 22 reads thechecksum written in the header and the checksum written in the buffermemory 28 a, and determines whether the two matches with each other ornot. If YES, the CPU 22 displays the image on the monitor 40 in a stepS63, and then proceeds to the aforementioned step S37. On the otherhand, if NO, the CPU 22 displays the image and the warning message “Thedata is tampered.” in a step S65, and then moves to the above mentionedstep S37.

As understood from the above description, the JPEG 2000 codec 30 encodesan image photographed by the camera 18, resulting in the data encodedfor each of the levels. Then, the checksum circuit 28 integrates theencoded data for each of the levels to determine a checksum. The CPU 22writes the determined checksum into the header of a stream formed by theencoded data. The CPU 22 records in the hard disk 36 the stream to whichthe checksum is written.

Then, the CPU 22 reads a desired level of encoded data from the streamrecorded in the hard disk 36, and integrates the read encoded data todetermine a checksum. Next, the CPU 22 compares the determined checksumwith the checksum written in the header.

If the two checksums match with each other, the CPU 22 concludes thatthe encoded data is not tampered. On the other hand, if they do notmatch with each other, the CPU 22 concludes that the encoded data istampered, and displays the warning message on the monitor 40. As statedabove, since the checksum written in the header for each of the levelsis compared with the checksum of a desired level of encoded data, it ispossible to detect whether the encoded data is tampered or not for eachof the levels.

In the above described embodiment, the warning message indicating theencoded data is tampered is displayed on the monitor. Alternatively, thewarning may be sounded from a speaker.

Also, in the aforesaid embodiment, the warning message indicating thatthe encoded data is tampered is displayed on the monitor, together withthe tampered image. As an alternative, only the warning messageindicative of the tampering may be displayed on the monitor.

Furthermore, a description was given as to the case in which a checksumis used as data for detection of tampered encoded data in relation tothe above mentioned embodiment. Alternatively, parity and CRC (CyclicRedundancy Check) may be used instead of checksum for that purpose.

Although the present invention has been described and illustrated indetail, it is clearly understood that the same is by way of illustrationand example only and is not to be taken by way of limitation, the spiritand scope of the present invention being limited only by the terms ofthe appended claims.

1. An image processor comprising: an encoder for encoding image datacorresponding to each of a plurality of different frequency bands; arecorder for recording in a recording medium the encoded image datagenerated by said encoder; a first calculator for calculating a dataamount of the encoded image data recorded by said recorder correspondingto each of said plurality of frequency bands; a second calculator forcalculating a data amount of desired encoded image data out of theencoded image data recorded in said recording medium corresponding toeach of said plurality of frequency bands; a comparator for comparingsecond numeric information indicative of the data amount of the datacalculated by said second calculator with first numeric informationindicative of the data amount calculated by said first calculator withrespect to said desired encoded image data; and an output for outputtinga message in accordance with result of the comparison by saidcomparator.
 2. An image processor depending on claim 1, furthercomprising: a decoder for decoding said desired encoded image data; anda display for displaying an image based on the image data decoded bysaid decoder, wherein said output outputs said message in relation to adisplaying operation of said display.
 3. An image processor according toclaim 2, further comprising a selector for selecting one of saidplurality of frequency bands, wherein said decoder decodes encoded imagedata components belonging to the frequency band selected by saidselector, and said comparator performs a comparison focusing on thefrequency band selected by said selector.
 4. An image processoraccording to claim 3, further comprising: an assigner for assigning saidfirst numeric information to the encoded image data recorded by saidrecorder; and a detector for detecting the first numeric informationassigned to said desired encoded image data prior to the comparison bysaid comparator.
 5. An image processor according to claim 4, wherein anencoding format of said encoder conforms to a wavelet transformationformat.
 6. An image processor according to claim 4, further comprising aphotographer for photographing an object scene, wherein said image datato be encoded by the encoder depicts an image of the object scenephotographed by the photographer.
 7. An image processor according toclaim 3, wherein an encoding format of said encoder conforms to awavelet transformation format.
 8. An image processor according to claim3, further comprising a photographer for photographing an object scene,wherein said image data to be encoded by the encoder depicts an image ofthe object scene photographed by the photographer.
 9. An image processoraccording to claim 2, further comprising: an assigner for assigning saidfirst numeric information to the encoded image data recorded by saidrecorder; and a detector for detecting the first numeric informationassigned to said desired encoded image data prior to the comparison bysaid comparator.
 10. An image processor according to claim 9, wherein anencoding format of said encoder conforms to a wavelet transformationformat.
 11. An image processor according to claim 9, further comprisinga photographer for photographing an object scene, wherein said imagedata to be encoded by the encoder depicts an image of the object scenephotographed by the photographer.
 12. An image processor according toclaim 2, wherein an encoding format of said encoder conforms to awavelet transformation format.
 13. An image processor according to claim2, further comprising a photographer for photographing an object scene,wherein said image data to be encoded by the encoder depicts an image ofthe object scene photographed by the photographer.
 14. An imageprocessor according to claim 1, further comprising: an assigner forassigning said first numeric information to the encoded image datarecorded by said recorder; and a detector for detecting the firstnumeric information assigned to said desired encoded image data prior tothe comparison by said comparator.
 15. An image processor according toclaim 14, wherein an encoding format of said encoder conforms to awavelet transformation format.
 16. An image processor according to claim14, further comprising a photographer for photographing an object scene,wherein said image data to be encoded by the encoder depicts an image ofthe object scene photographed by the photographer.
 17. An imageprocessor according to claim 1, wherein an encoding format of saidencoder conforms to a wavelet transformation format.
 18. An imageprocessor according to claim 17, further comprising a photographer forphotographing an object scene, wherein said image data to be encoded bythe encoder depicts an image of the object scene photographed by thephotographer.
 19. An image processor according to claim 1, furthercomprising a photographer for photographing an object scene, whereinsaid image data to be encoded by the encoder depicts an image of theobject scene photographed by the photographer.
 20. An image processingmethod comprising following steps of: an encoding step of encoding imagedata corresponding to each of a plurality of different frequency bands;a recording step of recording in a recording medium the encoded imagedata generated in said encoding step; a first calculation step ofcalculating a data amount of the encoded image data recorded in saidrecording step corresponding to each of said plurality of frequencybands; a second calculation step of calculating a data amount of desiredencoded image data out of the encoded image data recorded in saidrecoding medium corresponding to each of said plurality of frequencybands; a comparison step of comparing second numeric informationindicative of the data amount of the desired encoded image datacalculated in said second calculation step with first numericinformation indicative of the data amount calculated in said firstcalculation step with respect to said desired encoded image data; and anoutput step of outputting a message according to result of thecomparison by said comparator.